import json

from config import BASE_DIR


def build_data():
    with open(BASE_DIR + r'/data/login.json', encoding='utf-8') as f:
        data = json.load(f)
    new_list = []
    for i in data:
        i.pop('desc')
        new_list.append(tuple(i.values()))
    return new_list

if __name__ == '__main__':
    print(build_data())